package com.example;

import com.example.entity.Student;
import com.example.entity.StudentQueryParam;
import com.example.service.StudentService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class StudentServiceTest {
    @Autowired
    private StudentService studentService;

    @Test
    public void testInsertStudentsFromExcel() {
        // 模拟从Excel读取的学生列表
        List<Student> studentList = null;
        studentService.insertStudentsFromExcel(studentList);
    }

    // 其他测试方法类似编写
}
